﻿using B.S.Warehouse.Domain;
using B.S.Warehouse.ErrorCord;
using MediatR;

namespace B.S.Warehouse.Read.Api.Application.Command.OutboundCommand
{
    public class GetOutboundCommand : IRequest<ApiResult<ApiPaging<Outbounds>>>
    {
        public int pageindex { get; set; }
        public int pageSize { get; set; }
        /// <summary>
        /// 出库申请主题
        /// </summary>
        public string? DocumentSubject { get; set; }
        /// <summary>
        /// 单据编号，保存后自动生成，这里可先设为可空字符串，后续业务处理中赋值
        /// </summary>
        public string? DocumentNumber { get; set; }
        /// <summary>
        /// 出库类别
        /// </summary>
        public string? OutboundCategory { get; set; }


        /// <summary>
        /// 申请时间，已给定默认值，可根据实际业务调整
        /// </summary>
        public DateTime? ApplicationTime { get; set; }
        /// <summary>
        /// 申请人，这里已固定为admin，实际可按需处理
        /// </summary>
        public string? Applicant { get; set; }
        /// <summary>
        /// 出库库管，必填
        /// </summary>
        public string? OutboundWarehouseKeeper { get; set; }

    }
}
